package com.xc.service.baseService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.entity.base.BaseEntity;

import java.util.Collection;

public interface BaseService<T extends BaseEntity> extends IService<T> {
    Boolean savePre(T entity);
    Boolean saveBatchPre(Collection<T> entityList);
    Boolean updateByIdPre(T entity);
    Boolean updateBatchByIdPre(Collection<T> entityList);
}
